<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="layouts::header">
    
</head>
<body>

<nav th:replace="layouts::navbar"></nav>
<br>
<div class="container">
    <form th:action="@{/rooms/save}"  th:object="${room}"  method="POST">

        <div class="form-group">
            <div class="col-sm-2">
                <a>楼栋:</a>
                <select class="form-control" th:field="*{buildingId}">
                    <option th:value="1号楼">1号楼</option>
                    <option th:value="2号楼">2号楼</option>
                    <option th:value="3号楼">3号楼</option>
                    <option th:value="6号楼">6号楼</option>
                    <option th:value="9号楼">9号楼</option>
                </select>

                <a>楼层:</a>
                <select class="form-control" th:field="*{floorId}">
                    <option th:value="1层">1层</option>
                    <option th:value="2层">2层</option>
                    <option th:value="3层">3层</option>
                    <option th:value="4层">4层</option>
                    <option th:value="5层">5层</option>
                    <option th:value="6层">6层</option>

                </select>

                <a>房号：</a>
                <select class="form-control" th:field="*{roomId}">
                    <option th:value="01室">01室</option>
                    <option th:value="02室">02室</option>
                    <option th:value="03室">03室</option>
                    <option th:value="04室">04室</option>
                    <option th:value="05室">05室</option>
                    <option th:value="06室">06室</option>
                    <option th:value="07室">07室</option>
                    <option th:value="08室">08室</option>
                    <option th:value="09室">09室</option>
                    <option th:value="10室">10室</option>

                </select>
            </div>
        </div>
        <br>

<!--        <div class="form-group">-->
<!--            <div class="col-sm-6">-->
<!--                <select class="form-control" th:field="*{student}" multiple="multiple">-->
<!--                    <option th:each="student : ${allStudents}" th:value="${student.studentId}"  th:text="${student.name}"></option>-->
<!--                </select>-->
<!--            </div>-->
<!--        </div>-->

<!--        <br>-->
<!--        <button class="btn btn-info" type="submit">新建项目</button>-->
    </form>
</div>
</body>
</html>